package com.ztesoft.huangfu.learning.springboot.springboottransaction.service;


import com.ztesoft.huangfu.learning.springboot.springboottransaction.entity.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/5/23
 * Time: 22:44
 * Version: 1.0
 * Description:
 **/
public interface UserService {
    int addUser(User user);

    int delete(String id);

    int update(User user);

    List<User> selectUsers(int pageNum, int pageSize);

    User selectUserById(String id);
}
